fs-back: better error handling in fs-backend
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 8 Jul 2009 09:58:09 +0000 (10:58 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 8 Jul 2009 09:58:09 +0000 (10:58 +0100)
commit6d821524b14a20133b955f711e28e45d92c3725f
tree9c0415b2396dc5ba1a859c2a35db06521128923b
parentf96f790bc4438a9b174f31972fa16fbc78b5e03c
fs-back: better error handling in fs-backend

Currently most of the error checking in fs-backend is done by the use
of asserts that would terminate the daemon in case of a single error
on a single request.  This patch replaces the asserts with debugging
messages and terminates the connection on which the error occurred.
With this patch applied I was able to complete successfully over 1000
live migrations with stubdoms.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/fs-back/fs-backend.c
tools/fs-back/fs-backend.h
tools/fs-back/fs-ops.c
tools/fs-back/fs-xenbus.c